package com.etcn.modules.busi.classify.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.etcn.common.controller.BaseController;
import com.etcn.modules.busi.classify.pojo.WmHotSearch;
import com.etcn.modules.busi.classify.service.IWmHotSearchService;

import org.springframework.web.bind.annotation.ResponseBody;
import com.etcn.common.annotation.Manage;

/**
 * 归类热搜controller
 * @author guozc
 * @date: 2018-01-31 08:44:17
 */
@Controller
@RequestMapping("/v1/classify")
public class WmHotSearchController extends BaseController {

	@Autowired
    private IWmHotSearchService wmHotSearchService;

     /**
     * 查询归类热搜
     */
    @Manage
    @RequestMapping(value = "hotsearchs", method = RequestMethod.GET)
    public @ResponseBody Object hotsearchs(WmHotSearch entity) throws Exception{
    	return wmHotSearchService.findAppList(entity);
    }
    
}